package suanshu;

public class Demo08 {
    public static void main(String[] args) {
        int height1 = 180, height2 = 170, height3 = 165;
        int tempHeight = height1 > height2 ? height1 : height2;
        int maxHeight = tempHeight > height3 ? tempHeight : height3;
        System.out.println("最高的是"+maxHeight);

    }
}
